package com.sushi.service.impl;

import com.sushi.dao.StudentDao;
import com.sushi.dao.UserDao;
import com.sushi.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service("studentService")
public class StudentServiceImpl implements StudentService {
    @Autowired
    @Qualifier("studentDao")
    private StudentDao studentDao;

    @Override
    public void show() {
        System.out.println("Service...");
        studentDao.show();
    }
}
